/*
 * @name: 后台管理员列表
 * @content: 
 * @Author: joyce
 * @Date: 2020-03-26 22:39:31
 */

var mongoose = require('mongoose');

//登录信息表(Manager)

var ManagerSchema = new mongoose.Schema({
  username:{type: String},//账号
  password: {type: String}, //密码
  avatar:{type:String},//头像
  name:{type:String},//昵称
  roles:{type:String},//角色
  token:{type:String},//token码
})

module.exports = mongoose.model('Manager', ManagerSchema)
